#ifndef SKYROAD_REPLAY_DISPATCHER_H
#define SKYROAD_REPLAY_DISPATCHER_H


#include <list>
#include <boost/noncopyable.hpp>
#include <boost/format.hpp>
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <skyroad/message/message.hpp>

class connection_manager;

class reply_dispatcher : 
	private boost::noncopyable {
public:
	reply_dispatcher(
		connection_manager& connection_manager);
	
	void dispatch(message& msg);
private:
	typedef boost::shared_ptr<boost::thread> thread_ptr;

	connection_manager& connection_manager_;
};

#endif



